import { Resource, Child } from './types.js'; /** * Async data loader — SSR-aware. * Client: fires immediately, returns undefined until resolved, triggers re-render on resolve. * fn() is re-called when any signal it reads changes. */ export declare function resource(fn: () => Promise): Resource; /** * Streaming boundary component. * Client: shows fallback while resource is loading, renders children when resolved. * SSR: renders fallback (streaming replace happens in hydration layer). */ export declare function Suspense(props: { fallback: Child; children: Child; }): Element | DocumentFragment;